Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines


Managing Textures

QuickDraw 3D provides routines that you can use to get information about the characteristics of a texture. You can get the dimensions of a texture, as well as the number of channels and the number of bits per channel. You cannot, however, reset any of these texture characteristics (they are determined at the time you create a texture object). You can also get the current alpha and RGB channels of a texture. You can reset these characteristics to achieve special effects.

Note
To create a texture object, you need to create an instance of some subclass of the texture class. For example, you can create a pixmap texture object by calling Q3PixmapTexture_New. See "Managing Pixmap Textures" on page 14-29 for information on creating and manipulating pixmap textures.

Subtopics
Q3Texture_GetType
Q3Texture_GetWidth
Q3Texture_GetHeight

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996